{% include 'header.html' %}
<body>
	<div id="wrap">
		{% include 'sidebar.html' %}
		<div id="main">
			{% if article.title %}<div class="title">{% if parent %}<a href="/{{ parent.title_url }}">{{ parent.title }}</a> &nbsp;»&nbsp; {% endif %}{% if article.title_link%}<a href="{{ article.title_link }}" target="_blank">{{ article.title }}</a>{% else %}{{ article.title }}{% endif %}</div>{% endif %}
			<!-- 博客正文开始 -->
			<div class="content">
				{% ifequal article.format 'markdown' %}
					{{ article.content_formatted }}
				{% else %}
					{% ifequal article.format 'txt' %}
						{{ article.content|linebreaksbr }}
					{% else %}
						{{ article.content }}
					{% endifequal %}
				{% endifequal %}
				<div class="misc">Published at <strong>{{ article.created|timezone:8|date:"G:i \C\S\T, M j"|upper }}</strong> • {{ article.hits }}+{{ article.hits_feed }} views</div>
				{% if related %}
				<div class="related">RELATED ARTICLES</div>
				{% for related_article in related %}
				<div class="sep10"></div>
				›&nbsp;<a href="/{{ related_article.title_url }}">{{ related_article.title }}</a>
				{% endfor %}
				<div class="sep10"></div>
				{% else %}
				{% endif %}
				<div id="Ads">
					<a href="http://go.nipao.com/etaoqu" target="_blank"><img src="http://ww2.sinaimg.cn/large/64e8ec40gw1dlyxas7fhwj.jpg" alt="淘宝网手机 易淘趣" title="淘宝网手机 易淘趣" /></a> 
				</div>
			</div>
			<!-- 博客正文结束 -->
			<!-- 博客文章评论开始 -->
			<div id="uyan_frame"></div>
			<script type="text/javascript" id="UYScript" src="http://uyan.cc/js/iframe.js?UYUserId=548" async=""></script>
			<!-- 博客文章评论结束 -->
		</div>
		<div class="clear"></div>
{% include 'footer.html' %}
